package model;

public class User {
    private int userId;//用户id
    private String userName;//用户名
    private String password;//用户密码
    //该字段表示当前文章是否是自己的(与后面Servlet代码相关联)
    private int authorSelf;

    public int getAuthorSelf() {
        return authorSelf;
    }

    public void setAuthorSelf(int authorSelf) {
        this.authorSelf = authorSelf;
    }



    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
